package com.ypinkj.app.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author LF
 * @date 2020/10/10 - 17:36
 */
@Api(tags = "后台访问")
@Controller
public class TestIndexController {

    @ApiOperation(value = "默认跳转登录页")
    @GetMapping("")
    public String test(){
        System.out.println("请求成功！！！进入登录页！！！");
        return "login"; /* 默认访问templates下面的.html页面 */
    }
}
